import org.example.rmsmsapi.config.DS;
import org.example.rmsmsapi.dao.testMapper;
import org.example.rmsmsapi.model.testUser;

import javax.annotation.Resource;
import java.util.List;

public class testMain {
    @Resource
    private static  testMapper mapper;
    public static void main(String[] args) {
    //System.out.print(getUser().toString());
    }
    @DS("datasource2")
    public static  List<testUser> getUser(){
        return mapper.getUser();
    }

}
